package com.gxw.kotlint.model.bean.params

/**
 * Created by GXW on 2016/4/29 0029.
 * email:603004002@qq.com
 */
class LoginParams {

    /**
     * 如果没有任何指定，属性会默认使用getter和setter。当然它也可以修改为你自定义
    的代码，并且不修改存在的代码：
    public classs Person {
    var name: String = ""
    get() = $name.toUpperCase()
    set(value){
    $name = "Name: $value"
    }
    }

     */
    var loginName: String = ""
    var password: String = ""
    var deviceType: String = "android"

    constructor(loginName: String, password: String, deviceType: String) {
        this.loginName = loginName
        this.password = password
        this.deviceType = deviceType
    }

    override fun toString(): String {
        return "LoginParams(loginName='$loginName', password='$password', deviceType='$deviceType')"
    }

}